<template>
  <view class="top h">
    <view class="mch l">{{ mch }}</view>
    <view class="markNo r">桌号{{ markNo }}</view>
  </view>
</template>

<script lang="ts" setup>
defineProps<{
  mch: '';
  markNo: '';
}>();
</script>
<style lang="scss">
.top {
  width: 710rpx;
  height: 140rpx;
  background-color: #ffffff;
  margin: 12rpx auto;
  border-radius: 30rpx;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mch {
  font-size: 28rpx;
  font-family: Source Han Sans CN-Medium, Source Han Sans CN;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.8);
  line-height: 140rpx;
  margin-left: 38rpx;
}
.markNo {
  width: 120rpx;
  height: 70rpx;
  background-color: #ba2636;
  margin-right: 36rpx;
  border-radius: 44rpx;
  font-size: 24rpx;
  font-weight: 500;
  color: #f9f6eb;
  text-align: center;
  line-height: 70rpx;
}
</style>
